home *** CD-ROM | disk | FTP | other *** search
-
-
-
- GGGGRRRROOOOUUUUPPPP((((4444)))) GGGGRRRROOOOUUUUPPPP((((4444))))
-
-
-
- NNNNAAAAMMMMEEEE
- group - group membership file
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The ////eeeettttcccc////ggggrrrroooouuuupppp file contains for each group the following information:
-
- +o group name
-
- +o encrypted password
-
- +o numerical group ID
-
- +o a comma separated list of all users allowed in the group
-
- For example, the entry for the _s_y_s group is:
-
- sys::0:root,bin,sys,adm
-
-
- This is an ASCII file. A ``#'' at the beginning of a line indicates a
- comment. The ``#'' is only recognized at the beginning of a line, it
- should not be used after the user list. The fields are separated by
- colons; each group is separated from the next by a new-line. Except at
- the beginning of each line, white-space is not ignored, thus in most
- cases there should be no spaces e.g. in the user list. If the password
- field is null, no password is demanded. A ``*'' in the password field
- locks the entry.
-
- This file resides in the /_e_t_c directory. Because of the encrypted
- passwords, it can and does have general read permission and can be used,
- for example, to map numerical group ID's to names.
-
- If the NFS option is installed, a group file can have a line beginning
- with a plus (+), which means to incorporate entries from the NIS group
- database. There are two styles of + entries: All by itself, + means to
- insert the entire contents of the NIS group database at that point; +_n_a_m_e
- means to insert the entry (if any) for _n_a_m_e from the NIS database at that
- point. If a + entry has a non-null password or group member field, the
- contents of that field will override what is contained in the NIS
- database. The numerical group ID field cannot be overridden.
-
- A group file can also have a line beginning with a minus (-), these
- entries are used to disallow group entries. There is only one style of -
- entries: an entry that consists of -_n_a_m_e means to disallow any
- subsequent entry (if any) for _n_a_m_e. These entries will be disallowed
- regardless of whether the subsequent entry comes from the NIS or the
- local group file.
-
- For example, if the following entries
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- GGGGRRRROOOOUUUUPPPP((((4444)))) GGGGRRRROOOOUUUUPPPP((((4444))))
-
-
-
- -oldproj
- +myproject:::bill, steve
- +:
-
- appear at the end of a group file, then the group _o_l_d_p_r_o_j will be ignored
- if it appears after the entry -_o_l_d_p_r_o_j. Also, the group _m_y_p_r_o_j_e_c_t will
- have members _b_i_l_l and _s_t_e_v_e, and the password and group ID of the NIS
- entry for the group _m_y_p_r_o_j_e_c_t. All the groups listed in the NIS database
- will be pulled in and placed after the entry for _m_y_p_r_o_j_e_c_t.
-
- FFFFIIIILLLLEEEESSSS
- /etc/group
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- crypt(3), newgrp(1M), passwd(1), passwd(4)
-
- BBBBUUUUGGGGSSSS
- The _p_a_s_s_w_d(1) command won't change group passwords.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-